import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';

/**
 * 根路由控制器
 */
@Controller()
export class AppController {
  constructor(private readonly appService: AppService) {}

  @Get()
  getHello(): string {
    return this.appService.getHello();
  }

  // 测试路由
  @Get('test')
  getTest(): string {
    return 'test';
  }
}

